import Vue from 'vue'
import App from './App'


import httpInterceptor from '@/common/http.interceptor.js'
import httpApi from '@/common/http.api.js'

import uView from "uviewui";
Vue.use(uView);

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})

//http拦截器，将此部分放在new Vue()和app.$mount()之间，才能App.vue中正常使用
Vue.use(httpInterceptor,app);
Vue.use(httpApi,app);

app.$mount()
